home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
wildcat
/
sdiz11.zip
/
SDIZ.DOC
< prev
next >
Wrap
Text File
|
1992-08-29
|
7KB
|
160 lines
SDIZ v1.1 for WILDCAT! v 3.5
User Documentation
Copyright 1992 by Tim Kilgore
Protected under Missouri General Copyright Laws
ALL RIGHTS RESERVED
What is SDIZ?
SDIZ is a comment inserter designed to be used as a part of MSI's
WILDCAT! v3.5x's SCANFILE.BAT. It will insert the text contained
in FILE_ID.DIZ or DESC.SDI if an uploaded archive contains either
of these standardized description files.
New for version 1.1
Version 1.0 was written with three routines from an external
library. One of the routines was broken and had the potential
of causing occasional lock-ups. Version 1.1 is written entirely
in BASIC 7.1 and should not lock-up.
This version does NOT process DESC.SDI if FILE_ID.DIZ is located.
This prevents duplicate descriptions for occurring.
This version has a high-bit filter. This means that boxes drawn
around file descriptions will not appear (staggered and ugly as
a result) in WILDCAT's description file. All characters with an
ASCII value > 127 will NOT appear in a file description.
NOTE: I have discovered that ARCID occassionally identifies a
a GIF as being a HYPER compressed file. You may wish to
remove support for *.HYP files.
Disclaimer -
YOUR USE OF SDIZ.EXE INIDCATES YOUR AGREEMENT WITH THE FOLLOWING
TERMS. THE AUTHOR, TIM KILGORE, WILL NOT BE HELD RESPONSIBLE FOR
ANY DAMAGES CAUSED BY SDIZ.EXE. YOU USE SDIZ.EXE AT YOUR OWN RISK.
Why SDIZ?
At the time of this writing, there are at least 5 other programs
available to process uploads for FILE_ID.DIZ or DESC.SDI. Due to
conflicts with LANtastic drivers, partial functionality, or just
bad coding, I've been 'forced' to write SDIZ to handle a fairly
simple task. None of the existing 5 programs meet _my_ personal
needs.
I've also taken the time to add some extended functionality and
SDIZ has a unique combination of capabilites. Thanks to the
archive identification of Stacy Smith's ARCID, SDIZ can process -
o *.SDN files (PAK).
o ARC, ARJ, HYP, LZH, PAK, ZIP, and ZOO files.
o Self-extracting (EXE) archives of any type.
Finally, SDIZ is FREEWARE. I'm asking no compensation of any
kind. I do ask that you register Smith's ARCID ($5); it's a fine
tool and can be used for many other tasks.
You'll Probably Need ARCID -
SDIZ relies upon Stacy Smith's ARCID to determine the archive
type. ARCID093.ARJ was uploaded to the WildCat! HQ BBS and is
just under 20k in size. In the event that you need a more
current version or want to get it elsewhere, ARCID's home BBS
is -
The Bloom Beacon-Picayune BBS
(804) 525-9760
300-14,400 Baud (USRobotics V.32bis)
FidoNet 1:276/112
It is likely that other programs exist that determine the type
of archiver used to create a particular archive. Feel free to
use whatever you are comfortable with.
Using SDIZ with ARCID -
Following this section is a sample SCANFILE.BAT that should work
on any system if both ARCID.EXE and SDIZ.EXE are placed in the
path. I recommend skipping to this section as the following
notes may be damaging to your wakefulness.
SDIZ is designed to be operated from the NODEx subdirectory. Two
directories up (usually WC30 or WC) should be the main BBS sub-
directory and FILEAREA.DAT. On my system, SDIZ is executed from -
C:\WC\WCWORK\NODE1\
This is important because SDIZ will execute the following command
prior to calling WCFILE.EXE -
CD ..\..
This command should put SDIZ in the WC main subdirectory. SDIZ also
attempts to open "..\..\FILEAREA.DAT". Again, SDIZ looks 'up'
two subdirectories and will fail to function if it cannot do so.
SDIZ's command line appears as -
SDIZ Drive:\path\filename.ext ARCHIVE-TYPE
The drive and path must match one found as a primary path in
FILEAREA.DAT. During an upload, it is impossible for it not to
match, so don't worry about this too much.
ARCHIVE-TYPE is provided by ARCID (or similar program) and can
be any of the following -
ARC, ARJ, HYP, LZH, PAK, ZIP, ZOO
Once SDIZ is up and running, it will attempt to extract both
FILE_ID.DIZ and DESC.SDI from the upload. If either file is
extracted, SDIZ will process the description file(s) and then
start WCFILE.EXE.
Example SCANFILE.BAT -
For the most part, this batch file is plug and play. It is
worth mentioning that ARCID _can_ detect GIF files. There is
at least one GIF processor available (inserts resolution), so
you may want to use this feature.
@echo off
CD \WC30\WCWORK\NODE%WCNODEID%
REM If you have Mike Ortiz's CATSCAN, then remove the following REM
REM CATSCAN %1
ARCID %1 ARC ARJ ZIP LZH ZOO PAK HYP
if errorlevel 7 SDIZ %1 HYP
if errorlevel 6 SDIZ %1 PAK
if errorlevel 5 SDIZ %1 ZOO
if errorlevel 4 SDIZ %1 LZH
if errorlevel 3 SDIZ %1 ZIP
if errorlevel 2 SDIZ %1 ARJ
if errorlevel 1 SDIZ %1 ARC
Contacting the Author -
If you've got a burr under your saddle, have a comment or suggestion,
or just want to say thanks, Tim Kilgore can be reached at -
Planet ><
FIDO 1:289/5
314-443-0319 HST/DS
314-442-0187 v.32
314-874-5887 v.32
By the way, if you use SDIZ and have written a nifty WC utility or
a door, don't hesitate to say thanks by sending the author a key or
registered copy of your program <g>.